package models

import "gorm.io/gorm"

// Disscussions: 讨论表：讨论号（主键，不用定义）、企业号（外键）
type Discussions struct {
	gorm.Model
	CompanyId uint      `gorm:"type:int(10);not null;"`
	Companies Companies `gorm:"foreignKey:CompanyId"`
	Speaker   string    `gorm:"type:varchar(20);not null;"`
}
